package org.x.user.vo;

import lombok.Data;

import java.util.Date;
import java.util.List;
@Data
public class RoleDetailVO {
    /**
     * "roleId": 201,
     *     "name": "高级律师",
     *     "code": "SENIOR_LAWYER",
     *     "dataScope": 2,
     *     "description": "拥有案件管理高级权限",
     *     "aclList": [
     *       {"aclId":101, "name":"案件创建", "code":"case:create"},
     *       {"aclId":102, "name":"案件修改", "code":"case:update"}
     *     ],
     *     "createTime": "2023-06-10 14:30:00"
     */
    private Long roleId;
    private String name;
    private String code;
    private Integer dataScope;
    private String description;
    private Date createTime;
    private List<AclList> aclList;

    @Data
    public static class AclList {
        private Long aclId;
        private String name;
        private String code;
    }
}
